<html>
<head><meta charset="utf-8"><title>package not found in git workspace · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/package.20not.20found.20in.20git.20workspace.html">package not found in git workspace</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="211542308"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/package%20not%20found%20in%20git%20workspace/near/211542308" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> conner <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/package.20not.20found.20in.20git.20workspace.html#211542308">(Sep 28 2020 at 19:59)</a>:</h4>
<p>cargo is unable to resolve a dependency that is fetched using git. the crate is part of a workspace. this is only when running in our CI system, it works fine locally. if i print out the <code>Cargo.toml</code> in ~/.cargo it shows that the package exists. it's able to find a git dependency in the same host that is _not_ a workspace. this is the error message:  <code>error: no matching package named `MY-PACKAGE` found
location searched: ssh://git@host/my-package.git?branch=my-branch#17c1102e</code>. am i missing something obvious?</p>



<a name="211549440"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/package%20not%20found%20in%20git%20workspace/near/211549440" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> conner <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/package.20not.20found.20in.20git.20workspace.html#211549440">(Sep 28 2020 at 20:58)</a>:</h4>
<p>i fixed this by adding a missing registry in ~/.cargo/config.toml -- kind of a misleading error, should I file an issue for this?</p>



<a name="211552349"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/package%20not%20found%20in%20git%20workspace/near/211552349" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/package.20not.20found.20in.20git.20workspace.html#211552349">(Sep 28 2020 at 21:24)</a>:</h4>
<p><span class="user-mention" data-user-id="346768">@conner</span> Yes, please file an issue.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>